1 using UnityEngine;
2 using
System.Collections;
3
4 public
class ShopLayer : MonoBehaviour {
5
6     
public void Start () {
7         gameObject.AddComponent<Actor>().addAction(
new ActionSequence(
8             
new ActionScaleTo(0, 0, 0),
9             
new ActionScaleTo(1, 1, 0.5f, Interpolation.swingOut)
10             ));
11     }
12 }



Trò chơi đua xe động vật trong UNITY Engine 114.697 lượt xem

Gõ tìm kiếm nhanh...